package d0324;

import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

import java.time.Year;
import java.util.Calendar;
import java.util.Date;

public class DateTest {
    public static void main(String[] args) {
     //   Date date=new Date();
      //  System.out.println(date);

      //  System.out.println(System.currentTimeMillis());

        Calendar calendar=Calendar.getInstance();
        calendar.set(Calendar.YEAR,2035);
        System.out.println(calendar.getTime());
        System.out.println(calendar.get(Calendar.MONTH)+1);
    }
}
